<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>Upload Image</h2>
<form action="/form?_csrf={{ ctx.csrf |  safe }}" method="post" enctype="multipart/form-data">
    <ul>
        <li>Image Name: <input name="name" type="text" /></li>
        <li><input name="file" type="file" /></li>
        <li><input type="submit" value="Upload" /></li>
    </ul>
</form>

</body>
</html>